
#pragma once

/**
 * Implements a Cell in CA. Has no idea about the grid, neighborhood, etc.
 */

template <typename T>
class Cell
{
private:
	T state;
public:
	T getState() const {return state;}
	void setState(T newState) {state = newState;}
	Cell(): state(0) {}
	Cell (const Cell& other): state(other.state) {};
};
